package net.linku.model.req.privilege;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 删除或者启用禁用传参
 *
 * @author: SilenceTian
 * @date: 2024/7/15 18:38
 * @version: 1.0
 */
@Data
@ApiModel(description = "删除或者启用禁用传参")
public class AdminStatusChangeReq {

    /**
     * 需要删除的id集合
     */
    @ApiModelProperty(value = "权限id")
    @NotEmpty(message = "需要删除的id不能为空")
    private List<Long> ids;

    /**
     * 需要更新的状态
     */
    @ApiModelProperty(value = "需要更新的状态")
    private String changeStatus;

}
